package xyz.mint123.proj.common.util;
/**
 * 消息类型枚举
 * @author mint
 * @version 2017-11-1
 */
public enum MsgTypeEmnu {
	/**
	 * 信息
	 */
	INFO("信息",-1),
	/**
	 * 成功
	 */
	SUCCESS("成功",6),
	/**
	 * 警告
	 */
	WARNING("警告",7),
	/**
	 * 错误
	 */
	ERROR("错误",5),
	/**
	 * 加载
	 */
	LOADING("加载",16);
	
	
	private String name;
	private int icon;
	
	
	MsgTypeEmnu(String name, int icon) {
		this.name = name;
		this.icon = icon;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getIcon() {
		return icon;
	}

	public void setIcon(int icon) {
		this.icon = icon;
	}
	
	
}
